import {cube, foo} from './sub'

interface TypeNum{
   a:number,
   b:number
}

function sum(obj:TypeNum):number{
    return obj.a+obj.b;
}

console.log(Promise)
console.log(sum({a:123,b:123}))

console.log('====')
console.log(cube(3))
console.log(foo)
